<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>home</title>
    <link rel="stylesheet" type="text/css"
          href="${ pageContext.request.contextPath}/resources/flower/css/listcss.css  ">
</head>
<body>
<div class="big">
    <div class="content">
        <a href="${ pageContext.request.contextPath}/flower/logout" class="submit">注销</a>
        <a href="${ pageContext.request.contextPath}/flower/add.html" class="add">添加</a>
        <h1 class="storeName">
            罗小黑的花店
        </h1>
        <div class="displsyFlower">
            <c:forEach items="${pager.itemList}" var="flower">
                <a href="${ pageContext.request.contextPath}/flower/edit/${flower.flowerId}.html">
                    <div class="img">
                        <img src="${ pageContext.request.contextPath}/resources/upload/${flower.flowerImgAddress}"/>
                        <div class="attribute">
                                ${flower.flowerName}
                            <br>
                            <span>
                                    ${flower.flowerMeans}
                            </span>
                        </div>
                    </div>
                </a>
            </c:forEach>
        </div>
        <jsp:include page="/WEB-INF/jsp/temp/common/pager-index.jsp"/>
    </div>
</div>
</body>
</html>